﻿using Microsoft.Extensions.DependencyInjection;
using PmSoft.Core;
using PmSoft.Data.Abstractions;
using PmSoft.Data.SqlSugar;

namespace Demo.Application.DbContexts
{
	[Inject(ServiceLifetime.Scoped)]
	public class AppDbContext : SqlSugarDbContext
	{
		public AppDbContext(IUnitOfWork unitOfWork) : base("App", (SqlSugarUnitOfWork)unitOfWork)
		{

		}
	}
}
